Receives System.Byte[] in GridView when MySql's DateFormat Function is used
Posted
by Khilen
on Stack Overflow
See other posts from Stack Overflow
or by Khilen
Published on 2010-03-30T06:16:04Z
Indexed on
2010/03/30
6:23 UTC
Read the original article
Hit count: 558
I have written this query for retrieving data from mysql as below
select FeedbackCode,EMailID,FeedbackDetail,
Date_Format(FeedbackDate,'%m,%d') as 'Feedback_Date'
from FeedbackDetail
where EMailID not like '' and InstanceCode =5
and I'm binding this data with GridView in asp.net but at the column of Feedback_Date,
instead of Date I receive System.Byte[]
.
© Stack Overflow or respective owner